package gdr.map;

/**
 * Posizione nel campo di battaglia
 * @author Giorgio Vitale
 *
 */
public class Position {
	protected int x;
	protected int y;
	protected int z;
	
	public Position(){}
	public Position(int x, int y, int z) { setX(x); setY(y); setZ(z);}
	
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	public int getZ() {
		return z;
	}
	public void setZ(int z) {
		this.z = z;
	}
	
	
	@Override
	public String toString() {
		return "Position [x=" + x + ", y=" + y + ", z=" + z + "]";
	}
	
	
}
